package com.zyh.service;

import com.zyh.entity.Category;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 商品三级分类 服务类
 * </p>
 *
 * @author zhang
 * @since 2022-05-11
 */
public interface ICategoryService extends IService<Category> {
    /**
     * 获取权限树
     * @return
     */
    public List<Category> selectMenu(List<Category> categories);
    /**
     * 获取权限树
     * @return
     */
    public List<Category> selectChild(Long parentId,List<Category> Categories);
}
